package com.cntaiping.royal.bass.core.service;

import com.cntaiping.royal.bass.core.dao.JCoursMapper;
import com.cntaiping.royal.bass.core.entity.JCours;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author jiangwei
 * @since 20/2/10
 */
@Service
public class CourseService1 {

    @Autowired(required = false)
    private JCoursMapper jcoursMapper;

    public JCours findByOne(Map map) {
        return jcoursMapper.findByOne(map);
    }

    public List<HashMap<String, Object>> findList(Map map) {
        return jcoursMapper.findByList(map);
    }

    public String querySignIn(Map map) {
        return jcoursMapper.signIn(map);
    }
}
